Sponsored by Deepsite.site

Deutsche Bahn MCP Server

Created By
Paul von Berg4 months ago
A comprehensive Model Context Protocol (MCP) server that provides unified access to Deutsche Bahn (DB) and German mobility APIs. Built with Python, FastAPI, and FastMCP for seamless integration with Claude Desktop and other MCP clients. The server is ready for local and cloud deployment. A running MCP server is available to connect by adding the URL to your MCP Client: https://db-mcp.datamonkey.tech/mcp. 🚄 Complete Railway Data: Stations, timetables, real-time disruptions, and parking
Overview

📋 Quick Start (for developers - User instructions below) Prerequisites Python 3.11+ Deutsche Bahn API credentials (Get them here) Google Cloud account (for deployment) Local Development Clone and setup:

git clone

cp .env.example .env Next, edit the new .env file with your DB API credentials. See the "Configuration" section for details on each variable.

Run the server:

python main.py

Server available at http://localhost:8080

🎯 Live Server Usage Guide The Deutsche Bahn MCP Server is live at https://db-mcp.datamonkey.tech and ready to use immediately. Follow these step-by-step guides to start accessing German railway data in Claude.

🖥️ Claude Desktop Setup Step 1: Locate your configuration file

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json Step 2: Edit the configuration Open the file and add the Deutsche Bahn server:

{ "mcpServers": { "deutschebahn": { "command": "npx", "args": [ "-y", "mcp-remote", "https://db-mcp.datamonkey.tech/mcp", "--transport", "http-only" ] } } } Step 3: Restart Claude Desktop

Close Claude Desktop completely Reopen the application You should see "Deutsche Bahn MCP Server" in the MCP section Step 4: Test the connection Ask Claude: "What train stations are in Berlin?"

🌐 Claude.ai Web Usage Step 1: Start a conversation Go to claude.ai and begin a new conversation.

Step 2: Add the MCP Server Click on "Search and Tools > Add connectors > Manage connectors" Select "Add custom connector" Enter a name, e.g.: "Deutsche Bahn MCP Server" Enter this remote MCP Server URL: https://db-mcp.datamonkey.tech/mcp

Step 3: Test immediately Try asking: "Find train stations near Frankfurt and check for any current delays at Frankfurt Hauptbahnhof."

Server Config

{
  "mcpServers": {
    "deutschebahn": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://db-mcp.datamonkey.tech/mcp",
        "--transport",
        "http-only"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Playwright McpPlaywright MCP server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.